.class final Lcom/mobisage/android/F;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field a:Ljava/lang/String;

.field b:Ljava/lang/String;

.field c:Ljava/lang/String;

.field d:Ljava/lang/String;

.field e:Ljava/lang/String;

.field private f:Landroid/content/Context;


# direct methods
.method constructor <init>(Landroid/content/Context;)V
    .locals 0
    .parameter

    .prologue
    .line 27
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 28
    iput-object p1, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    .line 29
    return-void
.end method

.method static synthetic a(Lcom/mobisage/android/F;)Landroid/content/Context;
    .locals 1
    .parameter

    .prologue
    .line 26
    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    return-object v0
.end method

.method private a(Ljava/util/HashMap;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 112
    new-instance v1, Lcom/mobisage/android/b;

    invoke-direct {v1}, Lcom/mobisage/android/b;-><init>()V

    .line 113
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "EventType"

    const-string v0, "eventtype"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 114
    const-string v0, "token"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 115
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Token"

    const-string v0, "token"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 118
    :goto_0
    const-string v0, "adid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 119
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdID"

    const-string v0, "adid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 122
    :goto_1
    const-string v0, "adgroupid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 123
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdGroupID"

    const-string v0, "adgroupid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 126
    :goto_2
    const-string v0, "tag"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 127
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Tag"

    const-string v0, "tag"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 128
    :cond_0
    iget-object v0, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v0, :cond_1

    .line 129
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "CustomData"

    iget-object v3, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 131
    :cond_1
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "PublisherID"

    iget-object v3, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 132
    invoke-static {}, Lcom/mobisage/android/Y;->a()Lcom/mobisage/android/Y;

    move-result-object v0

    const/16 v2, 0x7d5

    invoke-virtual {v0, v2, v1}, Lcom/mobisage/android/Y;->a(ILcom/mobisage/android/b;)V

    .line 134
    new-instance v1, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    const-string v0, "lpg"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-direct {v1, v2, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 135
    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 136
    return-void

    .line 117
    :cond_2
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "Token"

    iget-object v3, p0, Lcom/mobisage/android/F;->a:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 121
    :cond_3
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "AdID"

    iget-object v3, p0, Lcom/mobisage/android/F;->d:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    .line 125
    :cond_4
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "AdGroupID"

    iget-object v3, p0, Lcom/mobisage/android/F;->e:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2
.end method

.method private b(Ljava/util/HashMap;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 255
    new-instance v1, Lcom/mobisage/android/b;

    invoke-direct {v1}, Lcom/mobisage/android/b;-><init>()V

    .line 256
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "EventType"

    const-string v0, "eventtype"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 257
    const-string v0, "token"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 258
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Token"

    const-string v0, "token"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 261
    :goto_0
    const-string v0, "adid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 262
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdID"

    const-string v0, "adid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 265
    :goto_1
    const-string v0, "adgroupid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 266
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdGroupID"

    const-string v0, "adgroupid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 269
    :goto_2
    const-string v0, "tag"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 270
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Tag"

    const-string v0, "tag"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 271
    :cond_0
    iget-object v0, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v0, :cond_1

    .line 272
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "CustomData"

    iget-object v3, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 274
    :cond_1
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "PublisherID"

    iget-object v3, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 275
    invoke-static {}, Lcom/mobisage/android/Y;->a()Lcom/mobisage/android/Y;

    move-result-object v0

    const/16 v2, 0x7d5

    invoke-virtual {v0, v2, v1}, Lcom/mobisage/android/Y;->a(ILcom/mobisage/android/b;)V

    .line 277
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v0

    .line 278
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-virtual {v0}, Ljava/io/File;->canWrite()Z

    move-result v0

    if-nez v0, :cond_6

    .line 279
    :cond_2
    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    const-string v1, "Can\'t find sdcard!"

    const/4 v2, 0x5

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    .line 280
    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 296
    :goto_3
    return-void

    .line 260
    :cond_3
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "Token"

    iget-object v3, p0, Lcom/mobisage/android/F;->a:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 264
    :cond_4
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "AdID"

    iget-object v3, p0, Lcom/mobisage/android/F;->d:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    .line 268
    :cond_5
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "AdGroupID"

    iget-object v3, p0, Lcom/mobisage/android/F;->e:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    .line 283
    :cond_6
    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    const-class v2, Lcom/mobisage/android/MobiSageApkService;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 284
    new-instance v2, Landroid/os/Bundle;

    invoke-direct {v2}, Landroid/os/Bundle;-><init>()V

    .line 285
    const-string v0, "action"

    const/4 v3, 0x0

    invoke-virtual {v2, v0, v3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 286
    const-string v3, "lpg"

    const-string v0, "lpg"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 287
    const-string v0, "name"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 288
    const-string v3, "name"

    const-string v0, "name"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 293
    :goto_4
    const-string v0, "ExtraData"

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;

    .line 294
    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    invoke-virtual {v0, v1}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    goto :goto_3

    .line 290
    :cond_7
    new-instance v3, Ljava/io/File;

    const-string v0, "lpg"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-direct {v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 291
    const-string v0, "name"

    invoke-virtual {v3}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v0, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4
.end method

.method private c(Ljava/util/HashMap;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 299
    new-instance v1, Lcom/mobisage/android/b;

    invoke-direct {v1}, Lcom/mobisage/android/b;-><init>()V

    .line 300
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "EventType"

    const-string v0, "eventtype"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 301
    const-string v0, "token"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 302
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Token"

    const-string v0, "token"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 305
    :goto_0
    const-string v0, "adid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 306
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdID"

    const-string v0, "adid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 309
    :goto_1
    const-string v0, "adgroupid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 310
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdGroupID"

    const-string v0, "adgroupid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 313
    :goto_2
    const-string v0, "tag"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 314
    iget-object v2, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Tag"

    const-string v0, "tag"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v3, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 315
    :cond_0
    iget-object v0, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v0, :cond_1

    .line 316
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "CustomData"

    iget-object v3, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 318
    :cond_1
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "PublisherID"

    iget-object v3, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 319
    invoke-static {}, Lcom/mobisage/android/Y;->a()Lcom/mobisage/android/Y;

    move-result-object v0

    const/16 v2, 0x7d5

    invoke-virtual {v0, v2, v1}, Lcom/mobisage/android/Y;->a(ILcom/mobisage/android/b;)V

    .line 321
    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    const-class v2, Lcom/mobisage/android/MobiSageActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 322
    const-string v0, "type"

    const-string v2, "ad"

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 323
    const-string v2, "lpg"

    const-string v0, "lpg"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 324
    const-string v2, "adid"

    const-string v0, "adid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 325
    const-string v2, "adgroupid"

    const-string v0, "adgroupid"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 326
    const-string v2, "token"

    const-string v0, "token"

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 327
    const-string v0, "pid"

    iget-object v2, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 328
    iget-object v0, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v0, :cond_2

    .line 329
    const-string v0, "customdata"

    iget-object v2, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 330
    :cond_2
    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 331
    return-void

    .line 304
    :cond_3
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "Token"

    iget-object v3, p0, Lcom/mobisage/android/F;->a:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 308
    :cond_4
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "AdID"

    iget-object v3, p0, Lcom/mobisage/android/F;->d:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_1

    .line 312
    :cond_5
    iget-object v0, v1, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v2, "AdGroupID"

    iget-object v3, p0, Lcom/mobisage/android/F;->e:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_2
.end method


# virtual methods
.method public final clickAd(Ljava/lang/String;)V
    .locals 5
    .parameter "trackStr"

    .prologue
    .line 68
    invoke-static {p1}, Lcom/mobisage/android/MobiSageURIUtility;->parserURIQuery(Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v1

    .line 70
    const-string v0, "eventtype"

    const/4 v2, 0x2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 72
    const-string v0, "action"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 73
    packed-switch v0, :pswitch_data_0

    .line 87
    :goto_0
    return-void

    .line 75
    :pswitch_0
    invoke-direct {p0, v1}, Lcom/mobisage/android/F;->a(Ljava/util/HashMap;)V

    goto :goto_0

    .line 78
    :pswitch_1
    invoke-direct {p0, v1}, Lcom/mobisage/android/F;->b(Ljava/util/HashMap;)V

    goto :goto_0

    .line 81
    :pswitch_2
    new-instance v2, Lcom/mobisage/android/b;

    invoke-direct {v2}, Lcom/mobisage/android/b;-><init>()V

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "EventType"

    const-string v0, "eventtype"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "token"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "Token"

    const-string v0, "token"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_1
    const-string v0, "adid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "AdID"

    const-string v0, "adid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_2
    const-string v0, "adgroupid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "AdGroupID"

    const-string v0, "adgroupid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_3
    const-string v0, "tag"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "Tag"

    const-string v0, "tag"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    iget-object v0, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "CustomData"

    iget-object v4, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "PublisherID"

    iget-object v4, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Lcom/mobisage/android/Y;->a()Lcom/mobisage/android/Y;

    move-result-object v0

    const/16 v3, 0x7d5

    invoke-virtual {v0, v3, v2}, Lcom/mobisage/android/Y;->a(ILcom/mobisage/android/b;)V

    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v2

    const-string v0, "tip"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v2, v0}, Landroid/app/AlertDialog;->setMessage(Ljava/lang/CharSequence;)V

    const/4 v0, 0x1

    invoke-virtual {v2, v0}, Landroid/app/AlertDialog;->setCancelable(Z)V

    const/4 v0, -0x1

    const-string v3, "OK"

    new-instance v4, Lcom/mobisage/android/F$1;

    invoke-direct {v4, p0, v1}, Lcom/mobisage/android/F$1;-><init>(Lcom/mobisage/android/F;Ljava/util/HashMap;)V

    invoke-virtual {v2, v0, v3, v4}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    const/4 v0, -0x2

    const-string v1, "Cancel"

    new-instance v3, Lcom/mobisage/android/F$2;

    invoke-direct {v3, p0, v2}, Lcom/mobisage/android/F$2;-><init>(Lcom/mobisage/android/F;Landroid/app/AlertDialog;)V

    invoke-virtual {v2, v0, v1, v3}, Landroid/app/AlertDialog;->setButton(ILjava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    invoke-virtual {v2}, Landroid/app/AlertDialog;->show()V

    goto/16 :goto_0

    :cond_2
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Token"

    iget-object v4, p0, Lcom/mobisage/android/F;->a:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_1

    :cond_3
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdID"

    iget-object v4, p0, Lcom/mobisage/android/F;->d:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_2

    :cond_4
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdGroupID"

    iget-object v4, p0, Lcom/mobisage/android/F;->e:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_3

    .line 84
    :pswitch_3
    invoke-direct {p0, v1}, Lcom/mobisage/android/F;->c(Ljava/util/HashMap;)V

    goto/16 :goto_0

    .line 73
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_1
        :pswitch_2
        :pswitch_0
    .end packed-switch
.end method

.method public final destoryJavascriptAgent()V
    .locals 1

    .prologue
    .line 38
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    .line 39
    return-void
.end method

.method public final impressiontrack(Ljava/lang/String;)V
    .locals 7
    .parameter "trackStr"

    .prologue
    .line 43
    :try_start_0
    new-instance v0, Lorg/json/JSONArray;

    invoke-static {p1}, Ljava/net/URLDecoder;->decode(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    .line 44
    const/4 v1, 0x0

    :goto_0
    invoke-virtual {v0}, Lorg/json/JSONArray;->length()I

    move-result v2

    if-ge v1, v2, :cond_2

    .line 45
    invoke-virtual {v0, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v2

    .line 46
    new-instance v3, Lcom/mobisage/android/b;

    invoke-direct {v3}, Lcom/mobisage/android/b;-><init>()V

    .line 47
    iget-object v4, v3, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v5, "AdGroupID"

    const-string v6, "adgroupid"

    invoke-virtual {v2, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v5, v6}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 48
    iget-object v4, v3, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v5, "AdID"

    const-string v6, "adid"

    invoke-virtual {v2, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v5, v6}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 49
    const-string v4, "token"

    invoke-virtual {v2, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 50
    iget-object v4, v3, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v5, "Token"

    const-string v6, "token"

    invoke-virtual {v2, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v4, v5, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 53
    :goto_1
    iget-object v2, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v2, :cond_0

    .line 54
    iget-object v2, v3, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "CustomData"

    iget-object v5, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v2, v4, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 55
    :cond_0
    iget-object v2, v3, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "PublisherID"

    iget-object v5, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v2, v4, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 56
    invoke-static {}, Lcom/mobisage/android/Y;->a()Lcom/mobisage/android/Y;

    move-result-object v2

    const/16 v4, 0x7d4

    invoke-virtual {v2, v4, v3}, Lcom/mobisage/android/Y;->a(ILcom/mobisage/android/b;)V

    .line 44
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 52
    :cond_1
    iget-object v2, v3, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "Token"

    iget-object v5, p0, Lcom/mobisage/android/F;->a:Ljava/lang/String;

    invoke-virtual {v2, v4, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    .line 63
    :catch_0
    move-exception v0

    .line 65
    :cond_2
    return-void
.end method

.method public final onWebClickAd(Ljava/lang/String;)V
    .locals 6
    .parameter "trackStr"

    .prologue
    const/16 v5, 0x7d5

    .line 90
    invoke-static {p1}, Lcom/mobisage/android/MobiSageURIUtility;->parserURIQuery(Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v1

    .line 92
    const-string v0, "eventtype"

    const/16 v2, 0x8

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 94
    const-string v0, "action"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 95
    packed-switch v0, :pswitch_data_0

    .line 109
    :goto_0
    return-void

    .line 97
    :pswitch_0
    invoke-direct {p0, v1}, Lcom/mobisage/android/F;->a(Ljava/util/HashMap;)V

    goto :goto_0

    .line 100
    :pswitch_1
    invoke-direct {p0, v1}, Lcom/mobisage/android/F;->b(Ljava/util/HashMap;)V

    goto :goto_0

    .line 103
    :pswitch_2
    new-instance v2, Lcom/mobisage/android/b;

    invoke-direct {v2}, Lcom/mobisage/android/b;-><init>()V

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "EventType"

    const-string v0, "eventtype"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "token"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "Token"

    const-string v0, "token"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_1
    const-string v0, "adid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "AdID"

    const-string v0, "adid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_2
    const-string v0, "adgroupid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "AdGroupID"

    const-string v0, "adgroupid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_3
    const-string v0, "tag"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "Tag"

    const-string v0, "tag"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    iget-object v0, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "CustomData"

    iget-object v4, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "PublisherID"

    iget-object v4, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Lcom/mobisage/android/Y;->a()Lcom/mobisage/android/Y;

    move-result-object v0

    invoke-virtual {v0, v5, v2}, Lcom/mobisage/android/Y;->a(ILcom/mobisage/android/b;)V

    new-instance v2, Lcom/mobisage/android/b;

    invoke-direct {v2}, Lcom/mobisage/android/b;-><init>()V

    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "EventType"

    const/4 v4, 0x5

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v0, "token"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "Token"

    const-string v0, "token"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_4
    const-string v0, "adid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "AdID"

    const-string v0, "adid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_5
    const-string v0, "adgroupid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "AdGroupID"

    const-string v0, "adgroupid"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_6
    const-string v0, "tag"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v3, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v4, "Tag"

    const-string v0, "tag"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_2
    iget-object v0, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    if-eqz v0, :cond_3

    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "CustomData"

    iget-object v4, p0, Lcom/mobisage/android/F;->b:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_3
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "PublisherID"

    iget-object v4, p0, Lcom/mobisage/android/F;->c:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Lcom/mobisage/android/Y;->a()Lcom/mobisage/android/Y;

    move-result-object v0

    invoke-virtual {v0, v5, v2}, Lcom/mobisage/android/Y;->a(ILcom/mobisage/android/b;)V

    new-instance v2, Landroid/content/Intent;

    const-string v3, "android.intent.action.DIAL"

    const-string v0, "lpg"

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string v1, "tel://"

    const-string v4, "tel:"

    invoke-virtual {v0, v1, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-direct {v2, v3, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    iget-object v0, p0, Lcom/mobisage/android/F;->f:Landroid/content/Context;

    invoke-virtual {v0, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    :cond_4
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Token"

    iget-object v4, p0, Lcom/mobisage/android/F;->a:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_1

    :cond_5
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdID"

    iget-object v4, p0, Lcom/mobisage/android/F;->d:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_2

    :cond_6
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdGroupID"

    iget-object v4, p0, Lcom/mobisage/android/F;->e:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_3

    :cond_7
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "Token"

    iget-object v4, p0, Lcom/mobisage/android/F;->a:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_8
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdID"

    iget-object v4, p0, Lcom/mobisage/android/F;->d:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_5

    :cond_9
    iget-object v0, v2, Lcom/mobisage/android/b;->c:Landroid/os/Bundle;

    const-string v3, "AdGroupID"

    iget-object v4, p0, Lcom/mobisage/android/F;->e:Ljava/lang/String;

    invoke-virtual {v0, v3, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_6

    .line 106
    :pswitch_3
    invoke-direct {p0, v1}, Lcom/mobisage/android/F;->c(Ljava/util/HashMap;)V

    goto/16 :goto_0

    .line 95
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_3
        :pswitch_1
        :pswitch_2
        :pswitch_0
    .end packed-switch
.end method
